import MNode from "./mnode";
export class TextNode extends MNode {
    public text : string = ''
    constructor(text:string) {
        super();
        /** 文本节点默认无包含子节点 */
        this.isContainer = false;
        this.text = text;
        this.type = 'text';
    }
}